<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }
        .box {
            width: 330px;
            height: 380px;
            /* background-color: rgb(10, 45, 160); */
            margin: 100px auto;
            transform: rotate(-60deg) skewY(30deg);
            overflow: hidden;
        }
        .box a {
            display: block;
            width: 100%;
            height: 100%;
            transform: skewY(-30deg) rotate(60deg);
            background: url(timg.jpg) no-repeat;
        }
        .mask {
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, .3);
            transform-origin: left bottom;
            transform: rotate(180deg);
            transition: all .5s;
        }
        a:hover .mask {
            transform: rotate(0deg);
        }
    </style>
</head>
<body>
    <div class="box">
        <a href="#">
            <div class="mask"></div>
        </a>
    </div>
</body>
</html>